﻿<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
  
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>Interface IApplicationHost
   </title>
    <meta name="viewport" content="width=device-width">
    <meta name="title" content="Interface IApplicationHost
   ">
    <meta name="generator" content="docfx 2.59.2.0">
    
    <link rel="shortcut icon" href="../../favicon.ico">
    <link rel="stylesheet" href="../../styles/docfx.vendor.css">
    <link rel="stylesheet" href="../../styles/docfx.css">
    <link rel="stylesheet" href="../../styles/main.css">
    <link rel="stylesheet" href="../../styles/socialbar.css">
    <link rel="stylesheet" href="../../styles/header.css">
    <link rel="stylesheet" href="../../styles/version.css">
    <link href="https://fonts.googleapis.com/css?family=Roboto:400,100,300,500,700,100italic,300italic,400italic" rel="stylesheet" type="text/css">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
    <meta property="docfx:navrel" content="../../toc.html">
    <meta property="docfx:tocrel" content="../toc.html">
    <meta property="docfx:uid" content="MediaBrowser.Common.IApplicationHost">
    
    <meta property="docfx:rel" content="../../">
    
    <script type="text/javascript" src="../../nav.js"></script>
    <script type="text/javascript" src="../toc.js"></script>
  
  </head>  <body data-spy="scroll" data-target="#affix" data-offset="120">
    <div id="wrapper">
      <header>
        
        <div class="mb-socials-heading" style="height: 40px;">
        	<div class="mb-socials-heading-inner container">
        		<div class="mb-socials-heading-right">
        			<div class="mb-socials-list">
                          
        				<div class="mb-socials-item facebook">
        					<a class="mb-socials-item-link" target="_blank" href="https://facebook.com/embyapp"></a>
        					<div class="mb-socials-item-popup">
        						<span>Facebook</span>
        					</div>
        				</div><div class="mb-socials-item twitter">
        					<a class="mb-socials-item-link" target="_blank" href="https://twitter.com/embyapp"></a>
        					<div class="mb-socials-item-popup">
        						<span>Twitter</span>
        					</div>
        				</div>
        				<div class="mb-socials-item pinterest">
        					<a class="mb-socials-item-link" target="_blank" href="https://www.pinterest.com/emby0240/emby-news/"></a>
        					<div class="mb-socials-item-popup">
        						<span>Pinterest</span>
        					</div>
        				</div>
        				<div class="mb-socials-item tumblr">
        					<a class="mb-socials-item-link" target="_blank" href="https://embyapp.tumblr.com/"></a>
        					<div class="mb-socials-item-popup">
        						<span>Tumblr</span>
        					</div>
        				</div>
        				<div class="mb-socials-item github">
        					<a class="mb-socials-item-link" target="_blank" href="https://github.com/MediaBrowser"></a>
        					<div class="mb-socials-item-popup">
        						<span>GitHub</span>
        					</div>
        				</div><div class="mb-socials-item rss">
        					<a class="mb-socials-item-link" target="_blank" href="https://emby.media/blog.xml"></a>
        					<div class="mb-socials-item-popup">
        						<span>RSS</span>
        					</div>
        				</div>
                          
        			</div>
        		</div>
        	</div>
        </div>
        <div class="container">
        	<nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
        		  
        		  <a class="navbar-brand" href="../../index.html">
        		    <img id="logo" class="svg" src="../../images/emby_dev_logo.png" alt="">
        		  </a>
        		  <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
        			<span class="sr-only">Toggle navigation</span>
        			<span class="icon-bar"></span>
        			<span class="icon-bar"></span>
        			<span class="icon-bar"></span>
        		  </button>
        		<div class="collapse navbar-collapse" id="navbar">
        			
        			<ul class="nav level1 navbar-nav">
        			      <li class="nav-item">
        			          <a class="nav-link" href="../../index.html" title="DEV Home">DEV Home</a>
        			      </li>
        			      <li class="nav-item">
        			          <a class="nav-link" href="../../doc/index.html" title="Documentation">Documentation</a>
        			      </li>
        			      <li class="nav-item">
        			          <a class="nav-link" href="../../reference/index.html" title="Reference">Reference</a>
        			      </li>
        			      <li class="nav-item">
        			          <a class="nav-link" href="../../download/index.html" title="Download">Download</a>
        			      </li>
        			</ul>		</div>
        	</nav>
        </div>
        <div class="nav-overlay d-none"></div>        
        <div class="subnav navbar navbar-default">
          <div class="container">
            <div class="hide-when-search" id="breadcrumb">
        	  <ul class="breadcrumb">
        		<li></li>
        	  </ul>
        	</div>
        
        	<div class="breadcrumpsearch">
        	  <form class="navbar-form navbar-right" role="search" id="search">
        		<div class="form-group">
        		  <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
        		</div>
        	  </form>
        	</div>
          </div>
        </div>
      </header>
      <div class="container body-content">
        
        <div id="search-results">
          <div class="search-list">Search Results for <span></span></div>
          <div class="sr-items">
            <p><i class="glyphicon glyphicon-refresh index-loading"></i></p>
          </div>
          <ul id="pagination" data-first="First" data-prev="Previous" data-next="Next" data-last="Last"></ul>
        </div>
      </div>
      <div role="main" class="container body-content hide-when-search">
        
        <div class="sidenav hide-when-search">
          <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
          <div class="sidetoggle collapse" id="sidetoggle">
            <div id="sidetoc"></div>
          </div>
        </div>
        <div class="article row grid-right">
          <div class="col-md-10">
            <article class="content wrap" id="_content" data-uid="MediaBrowser.Common.IApplicationHost">
<div class="refdoc">
  
  
  <h1 id="MediaBrowser_Common_IApplicationHost" data-uid="MediaBrowser.Common.IApplicationHost" class="text-break">Interface IApplicationHost
  </h1>
  <div class="markdown level0 summary"><p>An interface to be implemented by the applications hosting a kernel</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="MediaBrowser.Common.html">MediaBrowser.Common</a></h6>
  <h6><strong>Assembly</strong>: MediaBrowser.Common.dll</h6>
  <h5 id="MediaBrowser_Common_IApplicationHost_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface IApplicationHost</code></pre>
  </div>
  <h3 id="properties">Properties
  </h3>
  
  
  <a id="MediaBrowser_Common_IApplicationHost_ApplicationVersion_" data-uid="MediaBrowser.Common.IApplicationHost.ApplicationVersion*"></a>
  <h4 id="MediaBrowser_Common_IApplicationHost_ApplicationVersion" data-uid="MediaBrowser.Common.IApplicationHost.ApplicationVersion">ApplicationVersion</h4>
  <div class="markdown level1 summary"><p>Gets the application version.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">Version ApplicationVersion { get; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.version">Version</a></td>
        <td><p>The application version.</p>
</td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Common_IApplicationHost_CanSelfRestart_" data-uid="MediaBrowser.Common.IApplicationHost.CanSelfRestart*"></a>
  <h4 id="MediaBrowser_Common_IApplicationHost_CanSelfRestart" data-uid="MediaBrowser.Common.IApplicationHost.CanSelfRestart">CanSelfRestart</h4>
  <div class="markdown level1 summary"><p>Gets a value indicating whether this instance can self restart.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">bool CanSelfRestart { get; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">Boolean</a></td>
        <td><p><code>true</code> if this instance can self restart; otherwise, <code>false</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Common_IApplicationHost_CanSelfUpdate_" data-uid="MediaBrowser.Common.IApplicationHost.CanSelfUpdate*"></a>
  <h4 id="MediaBrowser_Common_IApplicationHost_CanSelfUpdate" data-uid="MediaBrowser.Common.IApplicationHost.CanSelfUpdate">CanSelfUpdate</h4>
  <div class="markdown level1 summary"><p>Gets or sets a value indicating whether this instance can self update.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">bool CanSelfUpdate { get; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">Boolean</a></td>
        <td><p><code>true</code> if this instance can self update; otherwise, <code>false</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Common_IApplicationHost_HasPendingRestart_" data-uid="MediaBrowser.Common.IApplicationHost.HasPendingRestart*"></a>
  <h4 id="MediaBrowser_Common_IApplicationHost_HasPendingRestart" data-uid="MediaBrowser.Common.IApplicationHost.HasPendingRestart">HasPendingRestart</h4>
  <div class="markdown level1 summary"><p>Gets or sets a value indicating whether this instance has pending kernel reload.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">bool HasPendingRestart { get; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">Boolean</a></td>
        <td><p><code>true</code> if this instance has pending kernel reload; otherwise, <code>false</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Common_IApplicationHost_IsShuttingDown_" data-uid="MediaBrowser.Common.IApplicationHost.IsShuttingDown*"></a>
  <h4 id="MediaBrowser_Common_IApplicationHost_IsShuttingDown" data-uid="MediaBrowser.Common.IApplicationHost.IsShuttingDown">IsShuttingDown</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">bool IsShuttingDown { get; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">Boolean</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Common_IApplicationHost_IsStartupComplete_" data-uid="MediaBrowser.Common.IApplicationHost.IsStartupComplete*"></a>
  <h4 id="MediaBrowser_Common_IApplicationHost_IsStartupComplete" data-uid="MediaBrowser.Common.IApplicationHost.IsStartupComplete">IsStartupComplete</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">bool IsStartupComplete { get; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">Boolean</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Common_IApplicationHost_Name_" data-uid="MediaBrowser.Common.IApplicationHost.Name*"></a>
  <h4 id="MediaBrowser_Common_IApplicationHost_Name" data-uid="MediaBrowser.Common.IApplicationHost.Name">Name</h4>
  <div class="markdown level1 summary"><p>Gets the name.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">string Name { get; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><p>The name.</p>
</td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Common_IApplicationHost_OperatingSystemDisplayName_" data-uid="MediaBrowser.Common.IApplicationHost.OperatingSystemDisplayName*"></a>
  <h4 id="MediaBrowser_Common_IApplicationHost_OperatingSystemDisplayName" data-uid="MediaBrowser.Common.IApplicationHost.OperatingSystemDisplayName">OperatingSystemDisplayName</h4>
  <div class="markdown level1 summary"><p>Gets the display name of the operating system.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">string OperatingSystemDisplayName { get; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><p>The display name of the operating system.</p>
</td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Common_IApplicationHost_Plugins_" data-uid="MediaBrowser.Common.IApplicationHost.Plugins*"></a>
  <h4 id="MediaBrowser_Common_IApplicationHost_Plugins" data-uid="MediaBrowser.Common.IApplicationHost.Plugins">Plugins</h4>
  <div class="markdown level1 summary"><p>Gets the plugins.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">IPlugin[] Plugins { get; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="MediaBrowser.Common.Plugins.IPlugin.html">IPlugin</a>[]</td>
        <td><p>The plugins.</p>
</td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Common_IApplicationHost_SystemId_" data-uid="MediaBrowser.Common.IApplicationHost.SystemId*"></a>
  <h4 id="MediaBrowser_Common_IApplicationHost_SystemId" data-uid="MediaBrowser.Common.IApplicationHost.SystemId">SystemId</h4>
  <div class="markdown level1 summary"><p>Gets the device identifier.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">string SystemId { get; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><p>The device identifier.</p>
</td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Common_IApplicationHost_SystemUpdateLevel_" data-uid="MediaBrowser.Common.IApplicationHost.SystemUpdateLevel*"></a>
  <h4 id="MediaBrowser_Common_IApplicationHost_SystemUpdateLevel" data-uid="MediaBrowser.Common.IApplicationHost.SystemUpdateLevel">SystemUpdateLevel</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">PackageVersionClass SystemUpdateLevel { get; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="MediaBrowser.Model.Updates.PackageVersionClass.html">PackageVersionClass</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
  </h3>
  
  
  <a id="MediaBrowser_Common_IApplicationHost_CheckForApplicationUpdate_" data-uid="MediaBrowser.Common.IApplicationHost.CheckForApplicationUpdate*"></a>
  <h4 id="MediaBrowser_Common_IApplicationHost_CheckForApplicationUpdate_System_Threading_CancellationToken_System_Boolean_System_IProgress_System_Double__" data-uid="MediaBrowser.Common.IApplicationHost.CheckForApplicationUpdate(System.Threading.CancellationToken,System.Boolean,System.IProgress{System.Double})">CheckForApplicationUpdate(CancellationToken, Boolean, IProgress&lt;Double&gt;)</h4>
  <div class="markdown level1 summary"><p>Checks for update.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">Task&lt;CheckForUpdateResult&gt; CheckForApplicationUpdate(CancellationToken cancellationToken, bool isInBackground, IProgress&lt;double&gt; progress)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a></td>
        <td><span class="parametername">cancellationToken</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">Boolean</a></td>
        <td><span class="parametername">isInBackground</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.IProgress</span>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">Double</a>&gt;</td>
        <td><span class="parametername">progress</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a>&lt;<a class="xref" href="MediaBrowser.Model.Updates.CheckForUpdateResult.html">CheckForUpdateResult</a>&gt;</td>
        <td><p>Task{CheckForUpdateResult}.</p>
</td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Common_IApplicationHost_ContainsStartupOption_" data-uid="MediaBrowser.Common.IApplicationHost.ContainsStartupOption*"></a>
  <h4 id="MediaBrowser_Common_IApplicationHost_ContainsStartupOption_System_String_" data-uid="MediaBrowser.Common.IApplicationHost.ContainsStartupOption(System.String)">ContainsStartupOption(String)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">bool ContainsStartupOption(string name)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">name</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">Boolean</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Common_IApplicationHost_CreateInstance_" data-uid="MediaBrowser.Common.IApplicationHost.CreateInstance*"></a>
  <h4 id="MediaBrowser_Common_IApplicationHost_CreateInstance_System_Type_" data-uid="MediaBrowser.Common.IApplicationHost.CreateInstance(System.Type)">CreateInstance(Type)</h4>
  <div class="markdown level1 summary"><p>Creates the instance.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">object CreateInstance(Type type)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.type">Type</a></td>
        <td><span class="parametername">type</span></td>
        <td><p>The type.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">Object</a></td>
        <td><p>System.Object.</p>
</td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Common_IApplicationHost_GetExports_" data-uid="MediaBrowser.Common.IApplicationHost.GetExports*"></a>
  <h4 id="MediaBrowser_Common_IApplicationHost_GetExports__1_System_Boolean_" data-uid="MediaBrowser.Common.IApplicationHost.GetExports``1(System.Boolean)">GetExports&lt;T&gt;(Boolean)</h4>
  <div class="markdown level1 summary"><p>Gets the exports.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">IEnumerable&lt;T&gt; GetExports&lt;T&gt;(bool manageLiftime = true)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">Boolean</a></td>
        <td><span class="parametername">manageLiftime</span></td>
        <td><p>if set to <code>true</code> [manage liftime].</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a>&lt;T&gt;</td>
        <td><p>IEnumerable{``0}.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Common_IApplicationHost_Init_" data-uid="MediaBrowser.Common.IApplicationHost.Init*"></a>
  <h4 id="MediaBrowser_Common_IApplicationHost_Init" data-uid="MediaBrowser.Common.IApplicationHost.Init">Init()</h4>
  <div class="markdown level1 summary"><p>Inits this instance.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">void Init()</code></pre>
  </div>
  
  
  <a id="MediaBrowser_Common_IApplicationHost_NotifyPendingRestart_" data-uid="MediaBrowser.Common.IApplicationHost.NotifyPendingRestart*"></a>
  <h4 id="MediaBrowser_Common_IApplicationHost_NotifyPendingRestart" data-uid="MediaBrowser.Common.IApplicationHost.NotifyPendingRestart">NotifyPendingRestart()</h4>
  <div class="markdown level1 summary"><p>Notifies the pending restart.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">void NotifyPendingRestart()</code></pre>
  </div>
  
  
  <a id="MediaBrowser_Common_IApplicationHost_RemovePlugin_" data-uid="MediaBrowser.Common.IApplicationHost.RemovePlugin*"></a>
  <h4 id="MediaBrowser_Common_IApplicationHost_RemovePlugin_MediaBrowser_Common_Plugins_IPlugin_" data-uid="MediaBrowser.Common.IApplicationHost.RemovePlugin(MediaBrowser.Common.Plugins.IPlugin)">RemovePlugin(IPlugin)</h4>
  <div class="markdown level1 summary"><p>Removes the plugin.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">void RemovePlugin(IPlugin plugin)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="MediaBrowser.Common.Plugins.IPlugin.html">IPlugin</a></td>
        <td><span class="parametername">plugin</span></td>
        <td><p>The plugin.</p>
</td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Common_IApplicationHost_Resolve_" data-uid="MediaBrowser.Common.IApplicationHost.Resolve*"></a>
  <h4 id="MediaBrowser_Common_IApplicationHost_Resolve__1" data-uid="MediaBrowser.Common.IApplicationHost.Resolve``1">Resolve&lt;T&gt;()</h4>
  <div class="markdown level1 summary"><p>Resolves this instance.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">T Resolve&lt;T&gt;()</code></pre>
  </div>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">T</span></td>
        <td><p>``0.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Common_IApplicationHost_Restart_" data-uid="MediaBrowser.Common.IApplicationHost.Restart*"></a>
  <h4 id="MediaBrowser_Common_IApplicationHost_Restart" data-uid="MediaBrowser.Common.IApplicationHost.Restart">Restart()</h4>
  <div class="markdown level1 summary"><p>Restarts this instance.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">void Restart()</code></pre>
  </div>
  
  
  <a id="MediaBrowser_Common_IApplicationHost_Shutdown_" data-uid="MediaBrowser.Common.IApplicationHost.Shutdown*"></a>
  <h4 id="MediaBrowser_Common_IApplicationHost_Shutdown" data-uid="MediaBrowser.Common.IApplicationHost.Shutdown">Shutdown()</h4>
  <div class="markdown level1 summary"><p>Shuts down.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">Task Shutdown()</code></pre>
  </div>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Threading.Tasks.Task</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Common_IApplicationHost_TryResolve_" data-uid="MediaBrowser.Common.IApplicationHost.TryResolve*"></a>
  <h4 id="MediaBrowser_Common_IApplicationHost_TryResolve__1" data-uid="MediaBrowser.Common.IApplicationHost.TryResolve``1">TryResolve&lt;T&gt;()</h4>
  <div class="markdown level1 summary"><p>Resolves this instance.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">T TryResolve&lt;T&gt;()</code></pre>
  </div>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">T</span></td>
        <td><p>``0.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Common_IApplicationHost_UpdateApplication_" data-uid="MediaBrowser.Common.IApplicationHost.UpdateApplication*"></a>
  <h4 id="MediaBrowser_Common_IApplicationHost_UpdateApplication_MediaBrowser_Model_Updates_PackageVersionInfo_System_Threading_CancellationToken_System_IProgress_System_Double__" data-uid="MediaBrowser.Common.IApplicationHost.UpdateApplication(MediaBrowser.Model.Updates.PackageVersionInfo,System.Threading.CancellationToken,System.IProgress{System.Double})">UpdateApplication(PackageVersionInfo, CancellationToken, IProgress&lt;Double&gt;)</h4>
  <div class="markdown level1 summary"><p>Updates the application.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">Task UpdateApplication(PackageVersionInfo package, CancellationToken cancellationToken, IProgress&lt;double&gt; progress)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="MediaBrowser.Model.Updates.PackageVersionInfo.html">PackageVersionInfo</a></td>
        <td><span class="parametername">package</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a></td>
        <td><span class="parametername">cancellationToken</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.IProgress</span>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">Double</a>&gt;</td>
        <td><span class="parametername">progress</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Threading.Tasks.Task</span></td>
        <td><p>Task.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="events">Events
  </h3>
  
  
  <h4 id="MediaBrowser_Common_IApplicationHost_ApplicationUpdated" data-uid="MediaBrowser.Common.IApplicationHost.ApplicationUpdated">ApplicationUpdated</h4>
  <div class="markdown level1 summary"><p>Occurs when [application updated].</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">event EventHandler&lt;GenericEventArgs&lt;PackageVersionInfo&gt;&gt; ApplicationUpdated</code></pre>
  </div>
  <h5 class="eventType">Event Type</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.eventhandler-1">EventHandler</a>&lt;<a class="xref" href="MediaBrowser.Model.Events.GenericEventArgs-1.html">GenericEventArgs</a>&lt;<a class="xref" href="MediaBrowser.Model.Updates.PackageVersionInfo.html">PackageVersionInfo</a>&gt;&gt;</td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <h4 id="MediaBrowser_Common_IApplicationHost_HasPendingRestartChanged" data-uid="MediaBrowser.Common.IApplicationHost.HasPendingRestartChanged">HasPendingRestartChanged</h4>
  <div class="markdown level1 summary"><p>Occurs when [has pending restart changed].</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">event EventHandler HasPendingRestartChanged</code></pre>
  </div>
  <h5 class="eventType">Event Type</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.eventhandler">EventHandler</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h3 id="extensionmethods">Extension Methods</h3>
  <div>
      <a class="xref" href="Emby.Media.Common.Extensions.Extensions.html#Emby_Media_Common_Extensions_Extensions_JsonClone__1___0_MediaBrowser_Model_Serialization_IJsonSerializer_">Extensions.JsonClone&lt;T&gt;(T, IJsonSerializer)</a>
  </div>
</div>
</article>
          </div>
          
          <div class="hidden-sm col-md-2" role="complementary">
            <div class="sideaffix">
              <div class="contribution">
                <ul class="nav">
                </ul>
              </div>
              <div class="sdkversion Release">
                  SDK <span class="sdkVersionSpan"></span>
              </div>
              <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
                <h5>On this Page</h5>
                <div></div>
              </nav>
            </div>
          </div>
        </div>
      </div>
      
      <footer>
        <div class="grad-bottom"></div>
        <div class="footer">
          <div class="container">
            <span class="pull-right">
              <a href="#top">Back to Top</a>
            </span>
            Copyright 2022 © EMBY LLC.  Please see our <a class="lnk" href="https://emby.media/terms.html">terms of use</a> and <a class="lnk" href="https://emby.media/privacy.html">privacy policy</a>.
            
          </div>
        </div>
      </footer>
    </div>
    
    <script type="text/javascript" src="../../styles/docfx.vendor.js"></script>
    <script type="text/javascript" src="../../searchIndex.js"></script>
    <script type="text/javascript" src="../../styles/lunr.min.js"></script>
    <script type="text/javascript" src="../../styles/docfx.js"></script>
    <script type="text/javascript" src="../../styles/main.js"></script>
  </body>
</html>
